package com.glink.common.contants;

/**
 * Created by qiushaoshan on 2024/6/18
 */
public class BaseConstants {

    public static final String DATE_FORMAT_DATETIME = "yyyy-MM-dd HH:mm:ss";
    public static final String DATE_FORMAT_DATETIME_MILLISECOND = "yyyy-MM-dd HH:mm:ss.SSS";
    public static final String DATE_FORMAT_DATETIME_HOUR_MI = "HH:mm";
    public static final String DATE_FORMAT_DATETIME_HOUR_MI_SECOND = "HH:mm:ss";
    public static final String DATE_FORMAT_SHORT_DATE_4 = "yyyy-MM";
    public static final String DATE_FORMAT_SHORT_DATE_2 = "yyyyMMdd";
    public static final String DATE_FORMAT_SHORT_DATE_3 = "yyyy-MM-dd";
    public static final String DATE_FORMAT_DATETIME_MINUTE = "yyyy-MM-dd HH:mm";

    /**
     * token标识
     */
    public static final String _AUTHORIZATION = "Authorization";

    /**
     * REDIS记录用户token前缀
     */
    public static final String REDIS_USER_TOKEN_PREFIX = "JWT_TOKEN_";
    
    /**
     * 用户redis中使用的key前缀
     */
    public static final String REDIS_USER_PREFIX = "USERINFO::";
    
    /**
     * 缓存中密码的SERIAL 前缀
     */
    public final static String PASSWD_KEY_PRIFIX = "PS_";

    /**
     * SM3加密盐值
     */
    public final static String MD5_SALT = "rencl@$#%%@12232";


    /**
     * 验证DTO对象间隔
     */
    public static final String REGEXP_STRING = "|";
}
